X-Git-Url: https://git.shalnoff.com/LED%20tetris/blobdiff_plain/9189c0abd7a1e4b17ad3198a188807f6a3302750..e5ba94bdd4f728795e79f1fc56c1d7dddd229e35:/tetris.c diff --git a/tetris.c b/tetris.c index 46cea34..0c9ef40 100644 --- a/tetris.c +++ b/tetris.c @@ -1,22 +1,8 @@ /* * TETRIS for AVR microcontrollers and cascading LED matrix based on MAX7219 driver - * Copyright (C) 2010 Dmitry Shalnov [interplaymedium.org] - * test it with "screen /dev/ttyUSB0" comand (control by kbd arrows) - * created for Interplaymedium™ AXON project - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Created for Interplaymedium™ project (https://interplaymedium.org) + * Copyright © 2010 Dmitry Shalnov [interplaymedium.org] + * Licensed under the Apache License, Version 2.0 */ #include @@ -77,7 +63,7 @@ void transmit_1byte_USART0 (unsigned char data) { UDR0 = data; } -// -------------------------------------------- Interrupt catch ------------------------------------------------------- +// -------------------------------------------- Interrupt handler ----------------------------------------------------- ISR(USART_RX_vect){ // USART RX interrupt volatile unsigned char c;